<!DOCTYPE html>
<html>

<head>
    <title>WkHtmlToPdf.Arguments.Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
    <link rel="stylesheet" type="text/css" href="../../_assets/page.css">
</head>

<body>
    <div class="container">

        <table style="width: 100%;">
            <tr>
                <td>Page {WkHtmlToPdf.Arguments}</td>
                <td style="text-align: right;">.NET clr documentation</td>
            </tr>
        </table>

        <h2>Page</h2>

        <h3>Description</h3>

        <p>Page Options</p>

        <h3>Declare</h3>        

        <pre>
            <code id="clr_ts">
# namespace WkHtmlToPdf.Arguments
export class Page {
   # Allow the file or files from the specified folder to be loaded (repeatable)
   allow: string;
   # Bypass proxy for host (repeatable)
   bypassproxyfor: string;
   # Web cache directory
   cachedir: string;
   # Use this SVG file when rendering checked checkboxes
   checkboxcheckedsvg: string;
   # Use this SVG file when rendering unchecked checkboxes
   checkboxsvg: string;
   # Set an additional cookie (repeatable), value should be url encoded.
   #  (命令行程序会自动进行url转义编码)
   cookies: list;
   # Set an additional HTTP header (repeatable)
   customheader: list;
   # Show javascript debugging output
   debugjavascript: boolean;
   # Do not make links to remote web pages
   disableexternallinks: boolean;
   # Do not make local links
   disableinternallinks: boolean;
   # Do not allow web pages to run javascript
   disablejavascript: boolean;
   # Turn HTML form fields into pdf form fields
   enableforms: boolean;
   # Link from section header to toc
   enabletocbacklinks: boolean;
   # Set the default text encoding, for input
   encoding: string;
   # Wait some milliseconds for javascript finish (default 200)
   javascriptdelay: integer;
   # Keep relative external links as relative external links
   keeprelativelinks: boolean;
   # Specify how to handle pages that fail to load: abort, ignore Or skip (default abort)
   loaderrorhandling: <a href="/vignettes/clr/System/Nullable`1.html">Nullable`1</a>;
   # Specify how to handle media files that fail To load: abort, ignore Or skip (default ignore)
   loadmediaerrorhandling: <a href="/vignettes/clr/System/Nullable`1.html">Nullable`1</a>;
   # Minimum font size
   minimumfontsize: integer;
   # Do not print background
   nobackground: boolean;
   # Do not load or print images
   noimages: boolean;
   # Set the starting page number (default 0)
   pageoffset: integer;
   # Run this additional javascript after the page is done loading (repeatable)
   runscript: string;
   # Specify a user style sheet, to load with every page
   userstylesheet: string;
   # Set viewport size if you have custom scrollbars Or css attribute overflow 
   #  to emulate window size
   viewportsize: string;
   # Wait until window.status is equal to this String before rendering page
   windowstatus: string;
   # Use this zoom factor (default 1)
   zoom: double;
}
</code>
        </pre>

        <h3>.NET clr type reference tree</h3>

        <ol>
<li>use by <i>property</i> member <code>cookies</code>: list</li>
<li>use by <i>property</i> member <code>customheader</code>: list</li>
<li>use by <i>property</i> member <code>loaderrorhandling</code>: <a href="/vignettes/clr/System/Nullable`1.html">Nullable`1</a></li>
<li>use by <i>property</i> member <code>loadmediaerrorhandling</code>: <a href="/vignettes/clr/System/Nullable`1.html">Nullable`1</a></li>
</ol>


        <hr />
        <div style="text-align: center;">[Package <em>{$package}</em> version {$version} <a
                href="../{$package}.html">Index</a>]
        </div>
    </div>
</body>

<script type="text/javascript" src="../../_assets/R_syntax.js"></script>
<script type="text/javascript" src="../../_assets/highlights.js"></script>
<script type="text/javascript">r_highlights("clr_ts");</script>

</html>